
import 'element-plus/dist/index.css';
import '/@/theme/index.scss';
// 一定要在main.ts中导入tailwind.css，防止vite每次hmr都会请求src/style/index.scss整体css文件导致热更新慢的问题
import "/@/theme/tailwind.css";
import Element from 'element-plus';
import { createApp } from 'vue';
import App from './App.vue';
import pinia from '/@/stores/index';
import { directive } from '/@/utils/directive';
import { Request } from "/@/api/request"

const app = createApp(App);
app.use(Element)

directive(app)

Request.init()
app.use(pinia)

app.mount('#app')